package com.mifengs.mall.ui.main;

import com.mifengs.commonbase.base.BasePresenter;
import com.mifengs.commonbase.base.BaseView;
import com.mifengs.mall.entity.StoreApplyInfo;
import com.mifengs.mall.entity.UpdateData;
import com.mifengs.mall.entity.UpgradeInfo;

/**
 * Created by lihaoqi on 2017/10/30.
 */

public interface MainContract {

    interface View extends BaseView{
        void toHomePage();
        void toClassifyPage();
        void toMsgPage();
        void toAccountPage();
        void toNearbyPage();
        void showUpdateDialog(UpdateData updateData);
        void startOpenShopActivity(int type,int storeStatus, StoreApplyInfo info);
        void startLoginActivity();
        void startShopTypeActivity();
        void upgradeInfo(UpgradeInfo upgradeInfo);

    }

    interface Presenter extends BasePresenter{
        void getUpdateInfo();
        void appLaunch();
        void getPhotoPath();
        void getApplyProgress();
        void getSplashInfo();
        void getUpgradeInfo();
    }

}
